Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
sendEmail
This procedure sends an e-mail message. This procedure is similar to
Location: af\app\afsesmngrp.i Parameters:notifyUser, but is more flexible and has additional options specific to sending an e-mail message. Most of the parameters are optional and can be left blank, as appropriate. The procedure allows multiple file attachments to be sent using comma-delimited lists. Because this procedure uses MAPI for client e-mail, it works with whatever e-mail is installed on the client PC sending the e-mail. On the server, it uses sendmail, and some options might not be supported.INPUT cEmailProfile AS CHARACTERThe mail profile to use, for example, Microsoft Outlook.
INPUT cToEmail AS CHARACTERA comma-delimited list of e-mail addresses to which the message is sent.
INPUT cCcEmail AS CHARACTERA comma-delimited list of e-mail addresses to which the message is copied.
INPUT cSubject AS CHARACTERThe subject of the message.
INPUT cMessage AS CHARACTERThe message text.
INPUT cAttachmentName AS CHARACTERA comma-delimited list of attachment filenames.
INPUT cAttachmentFPath AS CHARACTERA comma-delimited list of attachment filenames with full path.
INPUT lDisplayDialog AS LOGICALIf set to
YES, the message is displayed in a dialog box for modification before sending. If set toNO, then the message is sent immediately.INPUT iImportance AS INTEGERThe accepted values are: 0 = low, 1 = medium, 2 = high.
INPUT lReadReceipt AS LOGICAL
YES= return a read receipt.INPUT lDeliveryReceipt AS LOGICAL
YES= return a delivery receipt.INPUT cOptions AS CHARACTERNot currently used, set aside for future settings. It can contain a comma-delimited list of setting-value pairs of other settings.
OUTPUT cFailedReason AS CHARACTERIf the procedure failed, returns the reason why. Otherwise, returns blank, "".
Notes: None Examples: See thenotifyUserprocedure inaf\app\afsesmngrp.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |